package hackathon.light.up;

public class MapDirection {

	private static int[] next_row = new int[]{0,-1,-1,-1,0,1,1,1};
	private static int[] next_col = new int[]{1,1,0,-1,-1,-1,0,1};
	
	public static int getNextRow(LightDirection dir){
		return next_row[dir.ordinal()];
	}
	
	public static int getNextCol(LightDirection dir){
		return next_col[dir.ordinal()];
	}
}
